﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name = "Medicine Generic Name",
        IconUrl = "package.gif",
        AllowedChildNodeTypes = new Type[]
        {
            typeof(MedicineItem)
        })]
    public class MedicineGenericName : Vega.USiteBuilder.DocumentTypeBase
    {
        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Description", Description = "",
           Tab = Constants.Tabs.Content)]
        public string Description { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Display Name", Description = "",
           Tab = Constants.Tabs.Content)]
        public string DisplayName { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.TextboxMultiple, Name = "Generic NameMT", Description = "",
           Tab = Constants.Tabs.Content)]
        public string GenericNameMT { get; set; }
    }
}
